﻿package 
{
    import flash.events.Event;

    public class PlayerEvent extends Event
    {
        public static const PLAYER_MOVES:String = "playerMoves";

        private var m_playerX:Number = 0;
        private var m_playerY:Number = 0;

        public function PlayerEvent(type:String)
        {
            super(type);
        }

        public function get playerX():Number
        {
            return m_playerX;
        }

        public function get playerY():Number
        {
            return m_playerY;
        }

        public function set playerX(value:Number):void
        {
            m_playerX = value;
        }

        public function set playerY(value:Number):void
        {
            m_playerY = value;
        }
    }
}
